﻿Imports System.Collections.Generic
Imports System.Web

Public NotInheritable Class Ckeditor_Util
    Private Sub New()
    End Sub
    Public Shared Function Parse(Of T)(ByVal value As Object) As T
        Try
            Return DirectCast(System.ComponentModel.TypeDescriptor.GetConverter(GetType(T)).ConvertFrom(value.ToString()), T)
        Catch generatedExceptionName As Exception
            Return Nothing
        End Try
    End Function
End Class
